.processing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.processing-modal {
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 24px;
  min-width: 400px;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.processing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.processing-header h3 {
  margin: 0;
  color: #c9d1d9;
  font-size: 18px;
  font-weight: 600;
}

.cancel-btn {
  background: #f85149;
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #da3633;
  transform: scale(1.05);
}

.processing-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #30363d;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f6feb, #58a6ff);
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  font-weight: 600;
  color: #58a6ff;
  font-size: 14px;
  min-width: 40px;
  text-align: right;
}

.step-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #30363d;
  border-radius: 8px;
  border: 1px solid #484f58;
}

.step-icon {
  font-size: 16px;
}

.step-text {
  color: #c9d1d9;
  font-size: 14px;
  font-weight: 500;
}

.processing-details {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  justify-content: center;
}

.processing-details p {
  margin: 0;
  color: #8b949e;
  font-size: 14px;
}

.processing-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #30363d;
  border-top: 2px solid #58a6ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 响应式设计 */
@media (max-width: 480px) {
  .processing-modal {
    min-width: 320px;
    max-width: 90vw;
    padding: 20px;
  }
  
  .processing-header h3 {
    font-size: 16px;
  }
  
  .progress-container {
    gap: 8px;
  }
  
  .progress-text {
    font-size: 13px;
    min-width: 35px;
  }
  
  .step-info {
    padding: 10px 12px;
  }
  
  .step-text {
    font-size: 13px;
  }
} 